package com.frank.oj.service.file;

import com.frank.oj.common.result.CommonResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author frank
 * @Date 2024/4/5
 */
public interface ProblemFileService {
    CommonResult<Void> importProblem(MultipartFile file);

    void exportProblem(List<Long> pidList, HttpServletResponse response);
}
